package com.hqyj.dao;

import com.hqyj.pojo.Employee;

import java.util.List;

public interface EmployeeMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Employee record);

    int insertSelective(Employee record);

    Employee selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Employee record);

    int updateByPrimaryKey(Employee record);

    //动态排序
    List<Employee> queryByOrder(Employee record);

    /*一对一查询*/
    List<Employee> queryByOneAndOne();

}